import { Post, Get, Patch, Put, Delete, Download, ax } from "./http";
/**
 * 新增预领申请
 */
export var Add = obj => {
    return Post(`/api/Advance/Add`, obj);
};
/**
 * 查询预领申请列表
 */
export var GetApplyPagedList = obj => {
    return Get(`/api/Advance/GetApplyPagedList`, obj);
};
/**
 * 查询预领审批列表
 */
export var GetAuditPagedList = obj => {
    return Get(`/api/Advance/GetAuditPagedList`, obj);
};
/**
 * 查询预领打款列表
 */
export var GetPayPagedList = obj => {
    return Get(`/api/Advance/GetPayPagedList`, obj);
};
/**
 * 查询预领管理列表
 */
export var GetManagePagedList = obj => {
    return Get(`/api/Advance/GetManagePagedList`, obj);
};
/**
 * 查询详情
 */
export var GetDetail = id => {
    return Get(`/api/Advance/GetDetail/${id}`, {});
};
/**
 * 添加事由
 */
export var AddCause = obj => {
    return Post(`/api/Cause/AddCause`, obj);
};
/**
 * 获取事由列表
 */
export var GetCauseList = obj => {
    return Post(`/api/Cause/GetCauseList`, obj);
};
/**
 * 获取事由详情
 */
export var GetCause = obj => {
    return Get(`/api/Cause/GetCause`, obj);
};
/**
 * 导出事由EXCEL
 */
export var GetCauseExport = obj => {
    return Get(`/api/Cause/GetCauseExport`, obj);
};
/**
 * 添加客户
 */
export var AddClient = obj => {
    return Post(`/api/Client/AddClient`, obj);
};
/**
 * 修改客户
 */
export var EditClient = obj => {
    return Post(`/api/Client/EditClient`, obj);
};
/**
 * 获取企业机构代码
 */
export var GetCreditCode = obj => {
    return Get(`/api/Client/GetCreditCode`, obj);
};
/**
 * 添加字典类目
 */
export var AddDictionary = obj => {
    return Post(`/api/DataDictionary/AddDictionary`, obj);
};
/**
 * 添加字典项
 */
export var AddDictionaryItem = obj => {
    return Post(`/api/DataDictionary/AddDictionaryItem`, obj);
};
/**
 * 修改字典类目
 */
export var EditDictionary = obj => {
    return Post(`/api/DataDictionary/EditDictionary`, obj);
};
/**
 * 修改字典项
 */
export var EditDictionaryItem = obj => {
    return Post(`/api/DataDictionary/EditDictionaryItem`, obj);
};
/**
 * 获取数据字典列表
 */
export var GetDictionaryList = obj => {
    return Get(`/api/DataDictionary/GetDictionaryList`, obj);
};
/**
 * 添加部门
 */
export var AddDepartment = obj => {
    return Post(`/api/Department/AddDepartment`, obj);
};
/**
 * 修改部门
 */
export var EditDepartment = obj => {
    return Post(`/api/Department/EditDepartment`, obj);
};
/**
 * 删除部门
 */
export var DelDepartment = obj => {
    return Post(`/api/Department/DelDepartment`, obj);
};
/**
 * 获取部门列表
 */
export var GetDepartmentList = obj => {
    return Get(`/api/Department/GetDepartmentList`, obj);
};
/**
 * 添加员工
 */
export var AddEmployee = obj => {
    return Post(`/api/Employee/AddEmployee`, obj);
};
/**
 * 修改员工
 */
export var EditEmployee = obj => {
    return Post(`/api/Employee/EditEmployee`, obj);
};
/**
 * 修改员工权限
 */
export var EditPermissions = obj => {
    return Post(`/api/Employee/EditPermissions`, obj);
};
/**
 * 获取员工列表
 */
export var GetEmployeeList = obj => {
    return Post(`/api/Employee/GetEmployeeList`, obj);
};
/**
 * 获取员工详情
 */
export var GetEmployee = obj => {
    return Get(`/api/Employee/GetEmployee`, obj);
};
/**
 * 导出员工EXCEL
 */
export var GetEmployeeExport = obj => {
    return Get(`/api/Employee/GetEmployeeExport`, obj);
};
/**
 * 下载员工导入模板
 */
export var GetEmployeeTemplate = obj => {
    return Get(`/api/Employee/GetEmployeeTemplate`, obj);
};
/**
 * 上传模板
 */
export var UploadExcel = obj => {
    return Post(`/api/Employee/UploadExcel`, obj);
};
/**
 * 获取银行卡开户银行
 */
export var GetBankName = obj => {
    return Get(`/api/Employee/GetBankName`, obj);
};
/**
 * 添加费用项目
 */
export var AddExpense = obj => {
    return Post(`/api/Expense/AddExpense`, obj);
};
/**
 * 修改费用项目
 */
export var EditExpense = obj => {
    return Post(`/api/Expense/EditExpense`, obj);
};
/**
 * 获取费用项目列表
 */
export var GetExpenseList = obj => {
    return Get(`/api/Expense/GetExpenseList`, obj);
};
/**
 * 添加项目组
 */
export var AddProjectTeam = obj => {
    return Post(`/api/ProjectTeam/AddProjectTeam`, obj);
};
/**
 * 修改项目组
 */
export var EditProjectTeam = obj => {
    return Post(`/api/ProjectTeam/EditProjectTeam`, obj);
};
/**
 * 获取项目组列表
 */
export var GetProjectTeamList = obj => {
    return Get(`/api/ProjectTeam/GetProjectTeamList`, obj);
};
/**
 * 登录
 */
export var Login = obj => {
    return Post(`/api/Public/Login`, obj);
};
/**
 * 获取登录验证码
 */
export var GetVerificationCode = obj => {
    return Post(`/api/Public/GetVerificationCode`, obj);
};
/**
 * 注销登录
 */
export var Logout = obj => {
    return Post(`/api/Public/Logout`, obj);
};
/**
 * 修改权限树
 */
export var EditPermissionTree = obj => {
    return Post(`/api/Public/EditPermissionTree`, obj);
};
/**
 * 获取权限树
 */
export var GetPermissionTree = obj => {
    return Get(`/api/Public/GetPermissionTree`, obj);
};
/**
 * 树结构排序
 */
export var TreeSort = obj => {
    return Post(`/api/Public/TreeSort`, obj);
};
/**
 * 添加报销
 */
export var AddReimbursement = obj => {
    return Post(`/api/Reimbursement/AddReimbursement`, obj);
};
/**
 * 获取报销列表
 */
export var GetReimbursementList = obj => {
    return Post(`/api/Reimbursement/GetReimbursementList`, obj);
};
/**
 * 获取报销详情
 */
export var GetReimbursement = obj => {
    return Get(`/api/Reimbursement/GetReimbursement`, obj);
};
/**
 * 导出报销EXCEL
 */
export var GetReimbursementExport = obj => {
    return Get(`/api/Reimbursement/GetReimbursementExport`, obj);
};
/**
 * 审批
 */
export var Audit = obj => {
    return Post(`/api/Relation/Audit`, obj);
};
/**
 * 撤销
 */
export var Revoke = obj => {
    return Post(`/api/Relation/Revoke`, obj);
};
/**
 * 获取消息列表
 */
export var SystemNotifyList = obj => {
    return Get(`/api/SystemNotify/SystemNotifyList`, obj);
};
/**
 * 获取个人信息
 */
export var GetUser = obj => {
    return Get(`/api/User/GetUser`, obj);
};
/**
 * 修改个人信息
 */
export var EditUserInfo = obj => {
    return Post(`/api/User/EditUserInfo`, obj);
};
